#ifndef PATHDATA_H_
#define PATHDATA_H_

#include "pathInfo.h"

struct PathData{
	Point p;
	PathInfo* info;

	PathData(){
		this->info = NULL;
	}

	PathData(const Point& p){
		this->p=p;
		this->info = NULL;
	}

	PathData(const Point& p,PathInfo* info){
		this->p=p;
		this->info = info;
	}

	~PathData(){
	}

	bool operator ==(const PathData& data)const{
		return (this->p==data.p);
	}

	operator Point()const{
		return this->p;
	}
};


#endif /* PATHDATA_H_ */
